<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:96:"E:\phpstudy\PHPTutorial\WWW\htdocs\newgit\hwss1\public/../application/home\view\login\login.html";i:1552731953;s:86:"E:\phpstudy\PHPTutorial\WWW\htdocs\newgit\hwss1\application\home\view\base\footer.html";i:1552443674;}*/ ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登陆页面 </title>
    <link rel="stylesheet" href="/home/css/reset.css">
    <link rel="stylesheet" href="/home/css/head-footer.css">
    <link rel="stylesheet" href="/home/css/login.css">
    <style type="text/css">
        .font{
            font-size: 200%;
            margin-left: 280px;
            font-weight: bold;
            margin-top: 30px;
            color: #ff9900;
        }
    </style>
</head>

<body>
<!-- 头部 -->
<div class="header-wrap">
    <div class="header-top-wrap">
        <div class="header-top clearfixa">
            <div class="logo-box fl">
                <a href="javascript:void(0)">
                    <img src="/home/images/logo.png" alt="">
                </a>
            </div>
            <div class="login-api-box fr">
                <span>登录</span>/
                <span>注册</span>
            </div>
        </div>
    </div>
    <div class="header-bottom-wrap">
        <div class="header-bottom">
            <div class="second-logo-box">
                <a href="javascript:void(0)">
                    <img src="/home/images/teacher-logo.png" alt="">
                </a>
            </div>
        </div>
    </div>
</div>
<!-- 主体内容 -->
<div class="login-main-wrap">
    <div class="second-nav">
        <span><a href="javascript:void(0)">首页</a></span>
        >
        <span><a href="javascript:void(0)">登录</a></span>
    </div>
    <div class="login-main-box login1-main-box">
        <div class="font">商家登陆页面</div>
        <h1 class="login-speed-api"><a href="<?php echo url('login/index'); ?>">快速注册</a></h1>
        <div class="login-main">
            <form>
                <label for="" class="login-information-box">
                    <span class="login-information-name">手机号：</span>
                    <input type="text" placeholder="请输入用户名" name="agent_username" id="agent_username">
                </label>
                <label for="" class="login-information-box">
                    <span class="login-information-phone">密码：</span>
                    <input type="password" placeholder="请输入密码" name="agent_password" id="agent_password">
                </label>
                <input class="login-submit" type="button" id="button" value="提交">
            </form>
        </div>
    </div>
</div>
<div class="footer-container">
        <div class="footer-top">
            <div class="footer-top-content">
                <div class="friendlink-web">合作网站</div>
                <ul class="footer-friendlink">
                    <li>
                        <a href="http://www.people.com.cn/" target="_blank">人民网</a>
                    </li>
                    <li>
                        <a href="http://www.xinhuanet.com/" target="_blank">新华网</a>
                    </li>
                    <li>
                        <a href="http://www.gmw.cn/" target="_blank">光明网</a>
                    </li>
                    <li>
                        <a href="http://www.china.com.cn/" target="_blank">中国网</a>
                    </li>
                    <li>
                        <a href="http://bjrb.bjd.com.cn/" target="_blank">北京日报</a>
                    </li>
                    <li>
                        <a href="https://www.jfdaily.com/" target="_blank">解放日报</a>
                    </li>
                    <li>
                        <a href="http://www.wenming.cn/" target="_blank">中国文明网</a>
                    </li>
                    <li>
                        <a href="http://www.chinakongzi.org/" target="_blank">中国孔子网</a>
                    </li>
                    <li>
                        <a href="http://www.gjctwh.com/" target="_blank">国家传统文化产业促进网</a>
                    </li>
                    <li>
                        <a href="http://guji.artx.cn/" target="_blank">中国古籍全录</a>
                    </li>
                    <li>
                        <a href="http://publish.ancientbooks.cn/docShuju/platformSublibIndex.jspx?libId=6" target="_blank">中华经典古籍库</a>
                    </li>
                    <li>
                        <a href="http://www.confuchina.com/" target="_blank">中国儒学网</a>
                    </li>
                    <li>
                        <a href="http://www.cnki.net/" target="_blank">中国知网</a>
                    </li>
                    <li>
                        <a href="http://www.tcpc.org.cn" target="_blank">中国传统文化促进会</a>
                    </li>
                    <li>
                        <a href="http://www.zhyxctwh.com/" target="_blank">中华国学研究院</a>
                    </li>
                    <li>
                        <a href="http://www.orgcc.com/" target="_blank">中国文化艺术网</a>
                    </li>
                    <li>
                        <a href="http://www.guoxue.com/" target="_blank">国学网</a>
                    </li>
                    <li>
                        <a href="http://www.chuanxi.com.cn/" target="_blank">佛教慧日网</a>
                    </li>
                    <li>
                        <a href="http://www.hxlsw.com/" target="_blank">浩学历史网</a>
                    </li>
                    <li>
                        <a href="http://www.fxsp.org/" target="_blank">佛学视频网</a>
                    </li>
                    <li>
                        <a href="http://www.zgchuantongwenhua.com/" target="_blank">传统文化网</a>
                    </li>
                    <li>
                        <a href="http://www.shanxin.cn/" target="_blank">善信网</a>
                    </li>
                    <li>
                        <a href="http://duguoxue.cn/" target="_blank">读国学网</a>
                    </li>
                    <li>
                        <a href="http://www.songdu.net/" target="_blank">中华诵读网</a>
                    </li>
                    <li>
                        <a href="http://www.chinawenhua.com.cn/" target="_blank">传统文化杂谈</a>
                    </li>
                    <li>
                        <a href="https://www.shunyuanwenhua.com/" target="_blank">舜缘文化</a>
                    </li>
                    <li>
                        <a href="http://www.zhjd.org/" target="_blank">中华经典网</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="footer-middle clearfixa">
            <div class="footer-middle1">
                <ul>
                    <li>
                        <a href="/About/jz">家长监控</a>
                    </li>
                    <li>
                        <a href="/About/zhuce">游戏实名注册</a>
                    </li>
                    <li>
                        <a href="/About/jf">游戏纠纷处理</a>
                    </li>
                </ul>
            </div>
            <div class="footer-middle1">
                <ul>
                    <li>
                        <a href="/about/synopsis">华文在线</a>
                    </li>
                    <li>
                        <a href="/About">关于我们</a>
                    </li>
                    <!-- <li>
                                <a href="/Bid">文创招标</a>
                            </li> -->
                    <li>
                        <a href="/bid/bid3">中华大观园</a>
                    </li>
                    <li>
                        <a href="/bid/bid1">5+1工程</a>
                    </li>
                </ul>
            </div>
            <div class="footer-middle2">
                <ul>
                    <li class="footer-text-bold">联系我们</li>
                    <li>电话：010-87729542</li>
                    <li>地区:北京市朝阳区伊莎文化广场A座201</li>
                </ul>
            </div>
            <div class="footer-middle5">
                <ul>
                    <li class="footer-text-bold">商务合作</li>
                    <li>email：shichangbu@zhssw.com</li>
                    <li>手机：13466548198</li>
                </ul>
            </div>
            <div class="footer-middle3">
                <ul>
                    <li class="footer-text-bold">相关资质</li>
                    <li><a href="/web/images/pdf/gb.pdf" target="_blank">广播节目制作许可证</a></li>
                    <li><a href="/web/images/pdf/rz.pdf" target="_blank">软件著作权</a></li>
                    <li><a href="/web/images/pdf/wl.pdf" target="_blank">网络文化经营许可证</a></li>
                </ul>
            </div>
            <div class="footer-middle4">
                <!-- <p class="footer-middle4-attention">关注我们</p> -->
                <div class="footer-divs">
                    <div class="footer-erweima">
                        <div class="footer-erweima-img">
                            <img src="/home/images/erweima.jpg" alt="二维码图片">
                        </div>
                        <p class="footer-middle4-weixin">官方微信</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="footer-bottom">
            <p class="ac">
                抵制不良游戏　拒绝盗版游戏　注意自我保护　谨防受骗上当　适度游戏益脑　沉迷游戏伤身　合理安排时间　享受健康生活
            </p>
        </div>
        <div class="footer-bottom">
            <p>中华盛视网 Copyright © 2017 www.zhssw.com 京ICP备18017348号
                <script type="text/javascript">
                    var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
                    document.write(unescape("%3Cspan id='cnzz_stat_icon_1274773821'%3E%3C/span%3E%3Cscript src='" +
                        cnzz_protocol +
                        "s13.cnzz.com/z_stat.php%3Fid%3D1274773821%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"
                    ));
                </script><span id="cnzz_stat_icon_1274773821"><a href="https://www.cnzz.com/stat/website.php?web_id=1274773821"
                        target="_blank" title="站长统计"><img border="0" hspace="0" vspace="0" src="http://icon.cnzz.com/img/pic.gif"></a></span>
                <script src=" http://s13.cnzz.com/z_stat.php?id=1274773821&amp;show=pic" type="text/javascript"></script>
                <script src="http://c.cnzz.com/core.php?web_id=1274773821&amp;show=pic&amp;t=z" charset="utf-8" type="text/javascript"></script>
            </p>
        </div>
    </div>

</body>


</html>
<script src="http://libs.baidu.com/jquery/2.1.1/jquery.min.js"></script>
<script src="/home/js/layer-v/layer/layer.js"></script>
<script>
    $(document).on('click','#button',function(){

        var agent_username = $('#agent_username').val();
        var agent_password = $('#agent_password').val();

        if(agent_password !== "" || agent_username !== "")
        {
            $.ajax({
                url:"<?php echo url('login/dologin'); ?>",
                data:{
                    agent_username : agent_username,
                    agent_password : agent_password,
                },
                dataType:'json',
                type:'post',
                success:function(data)
                {
                    // console.log(data);return false;
                    if(data.code == '1000')
                    {
                        layer.msg('登陆成功', {
                            icon: 16,
                            shade: 0.01
                        });
                        window.location.href = "<?php echo url('Base/index'); ?>";

                    }else if(data.code == '1002')
                    {
                        layer.msg('申请未通过', function(){
                            //关闭后的操作
                            return false;
                        });
                    }else {
                        layer.msg('登陆失败', function(){
                            //关闭后的操作
                            return false;
                        });
                    }
                }
            })
        }else
        {
            layer.msg('请填写完整', function(){
                //关闭后的操作
                return false;
            })
        }


    })
</script>

</html>

